//import VueRouter from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';  
import indexFrom from "../views/indexFrom.vue";
import QW from "../views/QW.vue"
import ER from "../views/ER.vue" 
//import HeaderCom from "../components/HeaderCom.vue"
//mport nameForm from '../views/nameForm.vue'
export default new createRouter({
    history: createWebHistory(),
    ///linkActiveClass: 'active',  // 设置点击时高��的类名
    routes: [
        {
            path: '/',
            component: indexFrom
         }, 
        {
            path: '/QW',
            component: QW
        }, 
        {
            path: '/ER',
            component: ER
        }, 
        // {
        //     path: '/nameForm',
        //     component: nameForm
        // }
    ]
 });
